<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:r="http://ricchieri.com/facelets"
	xmlns:p="http://primefaces.org/ui">
	<h:head>
	</h:head>
	<h:body>
		<ui:composition>
			<h:panelGrid columns="2">
				<h:outputLabel style="font-weight:bold" value="#{msg.emailType}"/>
				<h:outputLabel value="#{manageBean.obtainDescription(template.emailToSendType.description)}"/>
				
				<h:outputLabel style="font-weight:bold" value="#{msg.subject}"/>
				<h:outputLabel value="#{template.subject}"/>
				
				<h:outputLabel style="font-weight:bold" value="#{msg.addTemplate}"/>
				<h:outputLabel value="#{template.template}"/>
				
				<h:outputLabel style="font-weight:bold" value="Principal"/>
				<h:outputLabel value="#{manageBean.obtainBooleanDescription(template.isDefault)}"/>
				
			</h:panelGrid>
			
			<div style="text-align: right; margin-top: 10px">
				<h:form>
					<r:commandLinkCustom id="searchEmailTemplate" action="#{viewEmailTemplateMB}" method="doBackToSearchEmailTemplate" icon="icon-zoom-out" message="#{msg.searchEmailTemplate}" style="font-size:14px" ajax="false" />
				</h:form>
			</div>
		</ui:composition>
	</h:body>
</html>
